<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head>
    <!-- 页面meta -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <title>角色管理</title>
    <th:block th:replace="/back/common_resources::common_css"></th:block>
    <th:block th:replace="/back/common_resources::common_js"></th:block>
</head>

<body class="hold-transition skin-purple sidebar-mini">
<header th:replace="/back/common_header::header"></header>
<aside th:replace="/back/common_aside::aside"></aside>
<div class="wrapper">
    <!-- 内容区域 -->
    <!-- @@master = admin-layout.html-->
    <!-- @@block = content -->

    <div class="content-wrapper">

        <!-- 内容头部 -->
        <section class="content-header">
            <h1>
                权限管理
                <small>修改权限</small>
            </h1>
            <ol class="breadcrumb">
                <li><a th:href="@{/back/admin_index}"><i class="fa fa-dashboard"></i> 首页</a></li>
                <li><a th:href="@{/back/permission/all}">权限管理</a></li>
                <li class="active">修改权限</li>
            </ol>
        </section>
        <!-- 内容头部 /-->

        <!-- 正文区域 -->
        <section class="content">
            <form th:action="@{/back/permission/update}" method="post">
                <!--基础控件-->
                <div class="tab-pane" id="tab-common">
                    <div class="row data-type">
                        <input type="hidden" name="pid" th:value="${permission.pid}">
                        <div class="col-md-2 title">权限名</div>
                        <div class="col-md-4 data">
                            <input type="text" class="form-control" placeholder="权限名" th:value="${permission.permissionName}" name="permissionName">
                        </div>

                        <div class="col-md-2 title">权限描述</div>
                        <div class="col-md-4 data">
                            <input type="text" class="form-control" placeholder="权限描述" th:value="${permission.permissionDesc}" name="permissionDesc">
                        </div>
                        <div class="col-md-2 title"></div>
                        <div class="col-md-10 data text-center">
                            <button type="submit" class="btn bg-maroon">保存</button>
                            <button type="button" class="btn bg-default" onclick="history.back(-1);">返回</button>
                        </div>

                    </div>
                </div>
                <!--基础控件/-->
            </form>


        </section>
        <!-- 正文区域 /-->

    </div>
    <!-- @@close -->
    <!-- 内容区域 /-->
</div>
<footer th:replace="/back/common_footer::footer"></footer>
</body>

</html>